/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package testgui3;

import java.util.*;

/**
 *
 * @author Administrator
 */
public class MoneyTask extends TimerTask{
    
    private Table tableSpawned;
    
    public MoneyTask(Table table)
    {
        tableSpawned = table;
    }
    
    public void run()
    {
        System.out.println("task has run");
        //tableSpawned.increaseMoney();
    }

}
